var host = location.host;
var curWwwPath=window.document.location.href;
var pathName=window.document.location.pathname;
var pos=curWwwPath.indexOf(pathName);
var localhostPaht=curWwwPath.substring(0,pos);
var layer,table;
layui.use(['layer', 'element','table'], function(){
	var element = layui.element; //导航的hover效果、二级菜单等功能，需要依赖element模块
	layer = layui.layer;
	table = layui.table;
});
var menue = ''
$(function(){
	$.ajax({
		url: "http://my.com.chao.cn:8080/menu",
        dataType: "json", 
        type: "get",//方式，get 或post
        //contentType:"application/json;charset=utf-8",
		success:function(data){
			debugger;
			if(data.code==1){
				
				
			}else{
				layer.msg("查询失败！");
			}
			
		},error:function(data){
			
		}
})
})